package bean.entity;

import bean.interf.Manager;
import dao.entity.BossDaoImpl;
import dao.entity.ServiceDaoImpl;

public class Boss implements Manager {
    @Override
    public void updateInfo() {

    }

    @Override
    public boolean logOUt(String bname) {
        BossDaoImpl bdi=new BossDaoImpl();
        int n=bdi.logOut(bname);
        return n==1;
    }
}
